package test.mkk;

import java.io.IOException;
import android.app.Activity;
import android.media.AudioRecord;
import android.os.Bundle;
import android.view.View;

public class Main extends Activity{
	
	AudioRecorder audioRecorder;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
	
	public void start(final View view) throws IOException {
		audioRecorder = new AudioRecorder();
	}
	
	public void stop(final View view) throws IOException{
		audioRecorder.close();
	}
}
